package com.lingyuan.warehouse.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author：寇可往，我亦可往。
 * @Package：com.lingyuan.warehouse.domain
 * @Project：lingyuan-shopping-mall
 * @name：WmsPurchase
 * @Date：2024/9/22 20:24
 */
@Data
public class WmsPurchase {
    // 采购单id
    private Long id;
   private Long assigneeId;
    // 采购人名
    private String assigneeName;
    // 联系方式
    private String phone;
    // 优先级
    private Long priority;
    // 状态
    private Long status;
    //数量
    private Long skuNum;
    //sku名称
    private String skuName;
    //买入金额
    private Double skuPrice;

    // 仓库id
    private Long wareId;
    // 总金额
    private Double amount;
    // 创建日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String createTime;
    // 更新日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String updateTime;

}
